<%@ page language="java" import="java.util.*" pageEncoding="UTF-8"%>
<%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c"%>
<%@ page isELIgnored="false" %>
<%
String path = request.getContextPath();
String basePath = request.getScheme()+"://"+request.getServerName()+":"+request.getServerPort()+path+"/";
%>

<!DOCTYPE HTML>
<html>
<head>
<base href="<%=basePath%>">
<title>弹出框</title>
<link rel="shortcut icon" href="image/short_cut.png">
<link href="bootstrap/css/bootstrap.min.css" rel="stylesheet" type="text/css"/>
</head>

<body style="margin: 50px">

<div class="modal " id="popup" style="padding-top: 200px;padding-left: 200px;">
	<div class="modal-dialog">
		<div class="modal-content">
			<div class="modal-header" style="background: #3C8DBC ;height: 40px;padding-top: 10px" >
				<!-- <button class="close" data-dismiss="modal"><span>&times;</span></button> -->
				<h4 class="modal-title" style="color: #fff">配置数据源</h4>
			</div>
			<div class="modal-body">
				<form action="" class="form-inline">
					<div class="form-group">
						<label class="control-label">数据库URL</label>
						<input type="text" class="form-control" placeholder="请输入数据库URL">
					</div>
					<div class="form-group">
						<label class="control-label">数据库名</label>
						<input type="text" class="form-control" placeholder="请输入数据库名">
					</div>
					<div class="form-group">
						<label class="control-label">用户名</label>
						<input type="text" class="form-control" placeholder="请输入用户名">
					</div>
					<div class="form-group">
						<label class="control-label">密码</label>
						<input type="text" class="form-control" placeholder="请输入密码">
					</div>
				</form>
			</div>
			<div align="center" ><!-- class="modal-footer" -->
				<button class="btn btn-info btn-sm">确认</button>
			</div>
		</div>
	</div>
</div>

<button class="btn btn-info" data-toggle="modal" data-target="#popup" data-backdrop="static">弹窗</button>
	
<script type="text/javascript" src="js/jquery/jquery.js"></script>
<script type="text/javascript" src="bootstrap/js/bootstrap.min.js"></script>
</body>
</html>